package com.ning.ems.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author Ning 242741154@qq.com
 * @date 2020/6/3 14:38
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("VO-TableData")
public class TableData<T> {
    @ApiModelProperty("总数")
    private Integer total;

    @ApiModelProperty("当前页面数据")
    private List<T> data;
}
